package efrei.ngo.entity;

import java.util.GregorianCalendar;

public class MsgPiece {
	int id_im;
	int pFrom;
	int pTo;
	String content;
	GregorianCalendar sTime;
	
	public MsgPiece(int id_im, int pFrom, int pTo, String content,
			GregorianCalendar sTime) {
		super();
		this.id_im = id_im;
		this.pFrom = pFrom;
		this.pTo = pTo;
		this.content = content;
		this.sTime = sTime;
	}
	
	public MsgPiece(int pFrom, int pTo, String content) {
		super();
		this.pFrom = pFrom;
		this.pTo = pTo;
		this.content = content;
	}
	
	public int getId_im() {
		return id_im;
	}

	public int getpFrom() {
		return pFrom;
	}
	public int getpTo() {
		return pTo;
	}
	public String getContent() {
		return content;
	}
	public GregorianCalendar getsTime() {
		return sTime;
	}
}
